import { injectReducer } from '../../../../../../reducers'

export default (store) => ({
    path: '/dictionary/article/list',
    getComponent(nextState, cb) {
        require.ensure([], (require) => {

            const Container = require('./Container').default
            const reducer = require('./modules').default

            injectReducer(store, { key: 'dictionary_article_list', reducer })
            cb(null, Container)

        },'dictionary_article_list')
    }
})